{!capture name='main'!}
{!include file='people/head.tpl' showType='done'!}
<table cellspacing="0" cellpadding="8" border="0" width="100%">
	{!foreach from=$foodList item=food name=fe_food!}
		{!assign var=index value=$smarty.foreach.fe_food.iteration!}
		{!if $index%3==1!}<tr>{!/if!}
		<td width="33%" valign="top">
			<h2><a href="/food/{!$food.foodId!}" class="b">{!$food.name!}</a></h2>
			<a href="/food/{!$food.foodId!}"><img src="/static/picture/food/{!$food.foodId!}_subbig?{!$food.updateTime!}" alt="{!$food.name!}" class="food_img2"/></a>
			<p>{!$food.description!}</p>
			{!if $isMyself!}
				<a href="/food/{!$food.foodId!}/edit" class="edit">修改</a>
				<a href="/action/food/delete?foodId={!$food.foodId!}" class="delete" onclick="return confirm('确实要删除做过的这道菜吗？');">删除</a>
			{!/if!}
		</td>
		{!if $index%3==0 && !$smarty.foreach.fe_food.last!}</tr>{!/if!}
	{!/foreach!}
	{!foreach from=$leftTdList item=i!}
		<td >&nbsp;</td>
	{!/foreach!}
	</tr>
</table>
<br/>
<div class="page">{!$pageNavStr!}</div>
{!/capture!}

{!include file='layouts/default.tpl'!}
